P2P-RMI: Transparent Distribution of Remote Java Objects

نویسندگان

  • Thomas Zink
  • Oliver Haase
  • Jürgen Wäsch
  • Marcel Waldvogel
چکیده

Java Remote Method Invocation (RMI) is a built-in and easy-to-use framework for the distribution of remote Java objects. Its simplicity and seamless inter-virtual machine communication has made it a valuable tool for distributed services. It nevertheless exhibits certain constraints that practically limit RMI applications to the classical client/server distribution model, and make highly distributed and highly dynamic systems very difficult to build atop RMI. We present an approach that makes Java RMI usable for P2P and similar distribution models. The solution basically consists of three ideas: (1) separate the location of the registry from the remote service object, (2) distribute the registry across a DHT infrastructure, and (3) transparently enhance the built-in communication between RMI servers and clients to allow traversal of NAT and firewall boundaries. Our approach is extremely lightweight, transparent, and requires practically zero configuration.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Transparent Distribution of Remote Java Objects

Java Remote Method Invocation (RMI) is a built-in and easy-to-use framework for the distribution of remote Java objects. Its simplicity and seamless inter-virtual machine communication has made it a valuable tool for distributed services. It nevertheless exhibits certain constraints that practically limit RMI applications to the classical client/server distribution model, and make highly distri...

متن کامل

Transparent Distributed Threads for Java

Remote method invocation in Java RMI allows the flow of control to pass across local Java threads and thereby span multiple virtual machines. However, the resulting distributed threads do not strictly follow the paradigm of their local Java counterparts for at least three reasons: Firstly, the absence of a global thread identity causes problems when reentering monitors. Secondly, blocks synchro...

متن کامل

Java Does not Distribute

Java is commonly considered the ideal language for implementing software for the In-ternet. A closer look, however, reveals that distributed programming is poorly supported in Java. This is because the very design of the language rules out distribution{transparent remote invocation. It is shown that Sun's technology for distributed Java programming, RMI, makes things worse by allowing two diier...

متن کامل

Transparent Consistent Replication of Java RMI Objects

The Java Remote Method Invocation (JRMI) specification simplifies the development of distributed Java applications, but provides little support to guarantee reliable, highly-available operation. The Aroma System is middleware that transparently enhances the JRMI model with the mechanisms required for consistent replication of client and server objects. By exploiting novel interception mechanism...

متن کامل

A Real-Time RMI Framework for the RTSJ

The Real-Time Specification for Java (RTSJ) provides a platform for the development of real-time applications. However, the RTSJ does not take the distribution requirements of real-time applications into consideration. As distribution in Java is often implemented using Java’s Remote Method Invocation (RMI), a real-time version of RMI between RTSJ implementations can provide a platform for writi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012